package com.company.bishi.first;

/**
 * TODO
 *
 * @author jianf
 * @date 2022年11月16 15:50
 */
public class Person {
    /**
     * 姓名
     */
    String psnName;
    /**
     * 部门序号
     */
    Integer deptSort;
    /**
     * 部门名称
     */
    String deptName;
    /**
     * 人员排序
     */
    Integer psnSort;
    /**
     * 年度
     */
    Integer year;
    /**
     * 月份
     */
    Integer month;
    /**
     * 假期种类
     */
    String type;
    /**
     * 请假天数
     */
    Integer amount;

    public Person(String psnName, Integer deptSort, String deptName, Integer psnSort, Integer year, Integer month, String type, Integer amount) {
        this.psnName = psnName;
        this.deptSort = deptSort;
        this.deptName = deptName;
        this.psnSort = psnSort;
        this.year = year;
        this.month = month;
        this.type = type;
        this.amount = amount;
    }

    public String getPsnName() {
        return psnName;
    }

    public void setPsnName(String psnName) {
        this.psnName = psnName;
    }

    public Integer getDeptSort() {
        return deptSort;
    }

    public void setDeptSort(Integer deptSort) {
        this.deptSort = deptSort;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getPsnSort() {
        return psnSort;
    }

    public void setPsnSort(Integer psnSort) {
        this.psnSort = psnSort;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Person{" +
                "psnName='" + psnName + '\'' +
                ", deptSort=" + deptSort +
                ", deptName='" + deptName + '\'' +
                ", psnSort=" + psnSort +
                ", year=" + year +
                ", month=" + month +
                ", type='" + type + '\'' +
                ", amount=" + amount +
                '}';
    }
}
